package com.alex.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OfflineMessageRepository extends JpaRepository<OfflineMessage, Long> {

    List<OfflineMessage> queryAllByUserIdAndStatus(String userId, Integer status);
}
